package com.itheima.dubbo.api.mongo;

import com.tanhua.model.mongo.Comment;
import com.tanhua.model.vo.PageResult;

public interface CommentApi {

    //根据动态的id查询评论列表
    PageResult findComments(Integer page, Integer pagesize, String movementId);

    //保存删除评论|点赞|喜欢
    Integer save(Comment comment);

    //删除评论|点赞|喜欢
    Integer delete(Comment comment);
}